<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>2022年日冕观测数据</title>
    
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="/static/JS/jquery-3.6.4.js"></script>
    <link rel="stylesheet" href="/static/CSS/bootstrap.min.css">
    <script src="/static/JS/bootstrap.min.js"></script>
    <style>
        body {
            background-color: #f2f2f2;
        }


        .form-select {
            color: black; /* 设置字体颜色为黑色 */
        }

        .header {
            background-color: #FF8C00;
            color: white;
            padding: 10px;
            text-align: center;
        }
        .form-container {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            padding: 15px;
        }

        .calendar-title {
            text-align: center;
            font-size: 20px;
            font-weight: bold;
            color: #FF8C00;
            margin: 15px 0;
        }

        /* 设置日历表格的宽度和列数调整 */
        .col-md-4 {
            flex: 0 0 25%; /* 将每个月份占用的列数减小到四列显示 */
            max-width: 25%;
        }

        .legend {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin: 10px 0;
            font-weight: bold;
        }
        .legend div {
            display: flex;
            align-items: center;
            gap: 5px;
        }
        .legend .green { background-color: green; width: 20px; height: 20px; }
        .legend .yellow { background-color: yellow; width: 20px; height: 20px; }
        .legend .red { background-color: red; width: 20px; height: 20px; }

        /* 调整日历表格整体缩放和样式 */
        .calendar-table {
            background-color: white;
            border-radius: 4px;
            padding: 8px;
            margin: 5px;
            font-size: 12px; /* 调小字体 */
        }

        /* 确保表格自适应容器高度 */
        .calendar-table table {
            flex-grow: 1;
        }



        /* 表头样式 */
        .calendar-table h4 {
            text-align: center;
            font-size: 14px;
            color: #FF8C00;
            font-weight: bold;
            margin-bottom: 5px;
        }


        /* 表格单元格缩小 */
        .table th, .table td {
            padding: 5px;
            font-size: 11px;
            text-align: center;
        }


        /* 不同状态的颜色 */
        .green-bg { background-color: green; color: white; }
        .yellow-bg { background-color: yellow; color: black; }
        .red-bg { background-color: red; color: white; }
        .no-data-bg { background-color: #f2f2f2; color: #ccc; }

        /* 确保在小屏幕上缩小显示 */
        @media (max-width: 1200px) {
            .col-md-4 {
                flex: 0 0 33.33%; /* 三列布局 */
                max-width: 33.33%;
            }
        }
        @media (max-width: 768px) {
            .col-md-4 {
                flex: 0 0 50%; /* 双列布局 */
                max-width: 50%;
            }
        }
        @media (max-width: 576px) {
            .col-md-4 {
                flex: 0 0 100%; /* 单列布局 */
                max-width: 100%;
            }
        }

    </style>
</head>


<body>


    <div class="header">

    <form method="GET" action="/">

        <div class="form-container">
            <span>请选择需要浏览数据的年份</span>
            <select name="year" class="form-select" id="yearSelect" onchange="updateTitle()">
                
                    <option value="2010" >2010</option>
                
                    <option value="2011" >2011</option>
                
                    <option value="2012" >2012</option>
                
                    <option value="2013" >2013</option>
                
                    <option value="2014" >2014</option>
                
                    <option value="2015" >2015</option>
                
                    <option value="2016" >2016</option>
                
                    <option value="2017" >2017</option>
                
                    <option value="2018" >2018</option>
                
                    <option value="2019" >2019</option>
                
                    <option value="2020" >2020</option>
                
                    <option value="2021" >2021</option>
                
                    <option value="2022" >2022</option>
                
                    <option value="2023" >2023</option>
                
                    <option value="2024" >2024</option>
                
            </select>

            <span>以及数据类型</span>
            <select name="type" class="form-select">
                <option value="rimian">日冕数据</option>
            </select>

            <button type="submit" class="btn btn-dark" style="color: black">查询</button>
        </div>

    </form>

        <p>如果您对我们感兴趣请邮箱我们：lyu@ynao.ac.cn</p>


    </div>

    <!-- Dynamic Title -->
    <div class="calendar-title" id="calendarTitle">2010年日冕观测数据</div>



    <div class="legend">
        <div><div class="green"></div>有观测数据</div>
        <div><div class="yellow"></div>有部分观测数据</div>
        <div><div class="red"></div>没有观测数据</div>
    </div>


    <div class="container">
        <div class="row" id="calendarContainer">
            
            <div class="col-md-4">
                <div class="calendar-table">
                    <h4>January</h4>
                    <table class="table table-bordered">
                        <thead>
                            <tr><th>一</th><th>二</th><th>三</th><th>四</th><th>五</th><th>六</th><th>日</th></tr>
                        </thead>
                        <tbody>
                            
                            <tr>
                                
                                <td class="no-data-bg">
                                    
                                </td>
                                
                                <td class="no-data-bg">
                                    
                                </td>
                                
                                <td class="no-data-bg">
                                    
                                </td>
                                
                                <td class="no-data-bg">
                                    
                                </td>
                                
                                <td class="red-bg">
                                    1
                                </td>
                                
                                <td class="red-bg">
                                    2
                                </td>
                                
                                <td class="red-bg">
                                    3
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    4
                                </td>
                                
                                <td class="red-bg">
                                    5
                                </td>
                                
                                <td class="red-bg">
                                    6
                                </td>
                                
                                <td class="red-bg">
                                    7
                                </td>
                                
                                <td class="red-bg">
                                    8
                                </td>
                                
                                <td class="red-bg">
                                    9
                                </td>
                                
                                <td class="red-bg">
                                    10
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    11
                                </td>
                                
                                <td class="red-bg">
                                    12
                                </td>
                                
                                <td class="red-bg">
                                    13
                                </td>
                                
                                <td class="red-bg">
                                    14
                                </td>
                                
                                <td class="red-bg">
                                    15
                                </td>
                                
                                <td class="red-bg">
                                    16
                                </td>
                                
                                <td class="red-bg">
                                    17
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    18
                                </td>
                                
                                <td class="red-bg">
                                    19
                                </td>
                                
                                <td class="red-bg">
                                    20
                                </td>
                                
                                <td class="red-bg">
                                    21
                                </td>
                                
                                <td class="red-bg">
                                    22
                                </td>
                                
                                <td class="red-bg">
                                    23
                                </td>
                                
                                <td class="red-bg">
                                    24
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    25
                                </td>
                                
                                <td class="red-bg">
                                    26
                                </td>
                                
                                <td class="red-bg">
                                    27
                                </td>
                                
                                <td class="red-bg">
                                    28
                                </td>
                                
                                <td class="red-bg">
                                    29
                                </td>
                                
                                <td class="red-bg">
                                    30
                                </td>
                                
                                <td class="red-bg">
                                    31
                                </td>
                                
                            </tr>
                            
                        </tbody>
                    </table>
                </div>
            </div>
            
            <div class="col-md-4">
                <div class="calendar-table">
                    <h4>February</h4>
                    <table class="table table-bordered">
                        <thead>
                            <tr><th>一</th><th>二</th><th>三</th><th>四</th><th>五</th><th>六</th><th>日</th></tr>
                        </thead>
                        <tbody>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    1
                                </td>
                                
                                <td class="red-bg">
                                    2
                                </td>
                                
                                <td class="red-bg">
                                    3
                                </td>
                                
                                <td class="red-bg">
                                    4
                                </td>
                                
                                <td class="red-bg">
                                    5
                                </td>
                                
                                <td class="red-bg">
                                    6
                                </td>
                                
                                <td class="red-bg">
                                    7
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    8
                                </td>
                                
                                <td class="red-bg">
                                    9
                                </td>
                                
                                <td class="red-bg">
                                    10
                                </td>
                                
                                <td class="red-bg">
                                    11
                                </td>
                                
                                <td class="red-bg">
                                    12
                                </td>
                                
                                <td class="red-bg">
                                    13
                                </td>
                                
                                <td class="red-bg">
                                    14
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    15
                                </td>
                                
                                <td class="red-bg">
                                    16
                                </td>
                                
                                <td class="red-bg">
                                    17
                                </td>
                                
                                <td class="red-bg">
                                    18
                                </td>
                                
                                <td class="red-bg">
                                    19
                                </td>
                                
                                <td class="red-bg">
                                    20
                                </td>
                                
                                <td class="red-bg">
                                    21
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    22
                                </td>
                                
                                <td class="red-bg">
                                    23
                                </td>
                                
                                <td class="red-bg">
                                    24
                                </td>
                                
                                <td class="red-bg">
                                    25
                                </td>
                                
                                <td class="red-bg">
                                    26
                                </td>
                                
                                <td class="red-bg">
                                    27
                                </td>
                                
                                <td class="red-bg">
                                    28
                                </td>
                                
                            </tr>
                            
                        </tbody>
                    </table>
                </div>
            </div>
            
            <div class="col-md-4">
                <div class="calendar-table">
                    <h4>March</h4>
                    <table class="table table-bordered">
                        <thead>
                            <tr><th>一</th><th>二</th><th>三</th><th>四</th><th>五</th><th>六</th><th>日</th></tr>
                        </thead>
                        <tbody>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    1
                                </td>
                                
                                <td class="red-bg">
                                    2
                                </td>
                                
                                <td class="red-bg">
                                    3
                                </td>
                                
                                <td class="red-bg">
                                    4
                                </td>
                                
                                <td class="red-bg">
                                    5
                                </td>
                                
                                <td class="red-bg">
                                    6
                                </td>
                                
                                <td class="red-bg">
                                    7
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    8
                                </td>
                                
                                <td class="red-bg">
                                    9
                                </td>
                                
                                <td class="red-bg">
                                    10
                                </td>
                                
                                <td class="red-bg">
                                    11
                                </td>
                                
                                <td class="red-bg">
                                    12
                                </td>
                                
                                <td class="red-bg">
                                    13
                                </td>
                                
                                <td class="red-bg">
                                    14
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    15
                                </td>
                                
                                <td class="red-bg">
                                    16
                                </td>
                                
                                <td class="red-bg">
                                    17
                                </td>
                                
                                <td class="red-bg">
                                    18
                                </td>
                                
                                <td class="red-bg">
                                    19
                                </td>
                                
                                <td class="red-bg">
                                    20
                                </td>
                                
                                <td class="red-bg">
                                    21
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    22
                                </td>
                                
                                <td class="red-bg">
                                    23
                                </td>
                                
                                <td class="red-bg">
                                    24
                                </td>
                                
                                <td class="red-bg">
                                    25
                                </td>
                                
                                <td class="red-bg">
                                    26
                                </td>
                                
                                <td class="red-bg">
                                    27
                                </td>
                                
                                <td class="red-bg">
                                    28
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    29
                                </td>
                                
                                <td class="red-bg">
                                    30
                                </td>
                                
                                <td class="red-bg">
                                    31
                                </td>
                                
                            </tr>
                            
                        </tbody>
                    </table>
                </div>
            </div>
            
            <div class="col-md-4">
                <div class="calendar-table">
                    <h4>April</h4>
                    <table class="table table-bordered">
                        <thead>
                            <tr><th>一</th><th>二</th><th>三</th><th>四</th><th>五</th><th>六</th><th>日</th></tr>
                        </thead>
                        <tbody>
                            
                            <tr>
                                
                                <td class="no-data-bg">
                                    
                                </td>
                                
                                <td class="no-data-bg">
                                    
                                </td>
                                
                                <td class="no-data-bg">
                                    
                                </td>
                                
                                <td class="red-bg">
                                    1
                                </td>
                                
                                <td class="red-bg">
                                    2
                                </td>
                                
                                <td class="red-bg">
                                    3
                                </td>
                                
                                <td class="red-bg">
                                    4
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    5
                                </td>
                                
                                <td class="red-bg">
                                    6
                                </td>
                                
                                <td class="red-bg">
                                    7
                                </td>
                                
                                <td class="red-bg">
                                    8
                                </td>
                                
                                <td class="red-bg">
                                    9
                                </td>
                                
                                <td class="red-bg">
                                    10
                                </td>
                                
                                <td class="red-bg">
                                    11
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    12
                                </td>
                                
                                <td class="red-bg">
                                    13
                                </td>
                                
                                <td class="red-bg">
                                    14
                                </td>
                                
                                <td class="red-bg">
                                    15
                                </td>
                                
                                <td class="red-bg">
                                    16
                                </td>
                                
                                <td class="red-bg">
                                    17
                                </td>
                                
                                <td class="red-bg">
                                    18
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    19
                                </td>
                                
                                <td class="red-bg">
                                    20
                                </td>
                                
                                <td class="red-bg">
                                    21
                                </td>
                                
                                <td class="red-bg">
                                    22
                                </td>
                                
                                <td class="red-bg">
                                    23
                                </td>
                                
                                <td class="red-bg">
                                    24
                                </td>
                                
                                <td class="red-bg">
                                    25
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    26
                                </td>
                                
                                <td class="red-bg">
                                    27
                                </td>
                                
                                <td class="red-bg">
                                    28
                                </td>
                                
                                <td class="red-bg">
                                    29
                                </td>
                                
                                <td class="red-bg">
                                    30
                                </td>
                                
                            </tr>
                            
                        </tbody>
                    </table>
                </div>
            </div>
            
            <div class="col-md-4">
                <div class="calendar-table">
                    <h4>May</h4>
                    <table class="table table-bordered">
                        <thead>
                            <tr><th>一</th><th>二</th><th>三</th><th>四</th><th>五</th><th>六</th><th>日</th></tr>
                        </thead>
                        <tbody>
                            
                            <tr>
                                
                                <td class="no-data-bg">
                                    
                                </td>
                                
                                <td class="no-data-bg">
                                    
                                </td>
                                
                                <td class="no-data-bg">
                                    
                                </td>
                                
                                <td class="no-data-bg">
                                    
                                </td>
                                
                                <td class="no-data-bg">
                                    
                                </td>
                                
                                <td class="red-bg">
                                    1
                                </td>
                                
                                <td class="red-bg">
                                    2
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    3
                                </td>
                                
                                <td class="red-bg">
                                    4
                                </td>
                                
                                <td class="red-bg">
                                    5
                                </td>
                                
                                <td class="red-bg">
                                    6
                                </td>
                                
                                <td class="red-bg">
                                    7
                                </td>
                                
                                <td class="red-bg">
                                    8
                                </td>
                                
                                <td class="red-bg">
                                    9
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    10
                                </td>
                                
                                <td class="red-bg">
                                    11
                                </td>
                                
                                <td class="red-bg">
                                    12
                                </td>
                                
                                <td class="red-bg">
                                    13
                                </td>
                                
                                <td class="red-bg">
                                    14
                                </td>
                                
                                <td class="red-bg">
                                    15
                                </td>
                                
                                <td class="red-bg">
                                    16
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    17
                                </td>
                                
                                <td class="red-bg">
                                    18
                                </td>
                                
                                <td class="red-bg">
                                    19
                                </td>
                                
                                <td class="red-bg">
                                    20
                                </td>
                                
                                <td class="red-bg">
                                    21
                                </td>
                                
                                <td class="red-bg">
                                    22
                                </td>
                                
                                <td class="red-bg">
                                    23
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    24
                                </td>
                                
                                <td class="red-bg">
                                    25
                                </td>
                                
                                <td class="red-bg">
                                    26
                                </td>
                                
                                <td class="red-bg">
                                    27
                                </td>
                                
                                <td class="red-bg">
                                    28
                                </td>
                                
                                <td class="red-bg">
                                    29
                                </td>
                                
                                <td class="red-bg">
                                    30
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    31
                                </td>
                                
                            </tr>
                            
                        </tbody>
                    </table>
                </div>
            </div>
            
            <div class="col-md-4">
                <div class="calendar-table">
                    <h4>June</h4>
                    <table class="table table-bordered">
                        <thead>
                            <tr><th>一</th><th>二</th><th>三</th><th>四</th><th>五</th><th>六</th><th>日</th></tr>
                        </thead>
                        <tbody>
                            
                            <tr>
                                
                                <td class="no-data-bg">
                                    
                                </td>
                                
                                <td class="red-bg">
                                    1
                                </td>
                                
                                <td class="red-bg">
                                    2
                                </td>
                                
                                <td class="red-bg">
                                    3
                                </td>
                                
                                <td class="red-bg">
                                    4
                                </td>
                                
                                <td class="red-bg">
                                    5
                                </td>
                                
                                <td class="red-bg">
                                    6
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    7
                                </td>
                                
                                <td class="red-bg">
                                    8
                                </td>
                                
                                <td class="red-bg">
                                    9
                                </td>
                                
                                <td class="red-bg">
                                    10
                                </td>
                                
                                <td class="red-bg">
                                    11
                                </td>
                                
                                <td class="red-bg">
                                    12
                                </td>
                                
                                <td class="red-bg">
                                    13
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    14
                                </td>
                                
                                <td class="red-bg">
                                    15
                                </td>
                                
                                <td class="red-bg">
                                    16
                                </td>
                                
                                <td class="red-bg">
                                    17
                                </td>
                                
                                <td class="red-bg">
                                    18
                                </td>
                                
                                <td class="red-bg">
                                    19
                                </td>
                                
                                <td class="red-bg">
                                    20
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    21
                                </td>
                                
                                <td class="red-bg">
                                    22
                                </td>
                                
                                <td class="red-bg">
                                    23
                                </td>
                                
                                <td class="red-bg">
                                    24
                                </td>
                                
                                <td class="red-bg">
                                    25
                                </td>
                                
                                <td class="red-bg">
                                    26
                                </td>
                                
                                <td class="red-bg">
                                    27
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    28
                                </td>
                                
                                <td class="red-bg">
                                    29
                                </td>
                                
                                <td class="red-bg">
                                    30
                                </td>
                                
                            </tr>
                            
                        </tbody>
                    </table>
                </div>
            </div>
            
            <div class="col-md-4">
                <div class="calendar-table">
                    <h4>July</h4>
                    <table class="table table-bordered">
                        <thead>
                            <tr><th>一</th><th>二</th><th>三</th><th>四</th><th>五</th><th>六</th><th>日</th></tr>
                        </thead>
                        <tbody>
                            
                            <tr>
                                
                                <td class="no-data-bg">
                                    
                                </td>
                                
                                <td class="no-data-bg">
                                    
                                </td>
                                
                                <td class="no-data-bg">
                                    
                                </td>
                                
                                <td class="red-bg">
                                    1
                                </td>
                                
                                <td class="red-bg">
                                    2
                                </td>
                                
                                <td class="red-bg">
                                    3
                                </td>
                                
                                <td class="red-bg">
                                    4
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    5
                                </td>
                                
                                <td class="red-bg">
                                    6
                                </td>
                                
                                <td class="red-bg">
                                    7
                                </td>
                                
                                <td class="red-bg">
                                    8
                                </td>
                                
                                <td class="red-bg">
                                    9
                                </td>
                                
                                <td class="red-bg">
                                    10
                                </td>
                                
                                <td class="red-bg">
                                    11
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    12
                                </td>
                                
                                <td class="red-bg">
                                    13
                                </td>
                                
                                <td class="red-bg">
                                    14
                                </td>
                                
                                <td class="red-bg">
                                    15
                                </td>
                                
                                <td class="red-bg">
                                    16
                                </td>
                                
                                <td class="red-bg">
                                    17
                                </td>
                                
                                <td class="red-bg">
                                    18
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    19
                                </td>
                                
                                <td class="red-bg">
                                    20
                                </td>
                                
                                <td class="red-bg">
                                    21
                                </td>
                                
                                <td class="red-bg">
                                    22
                                </td>
                                
                                <td class="red-bg">
                                    23
                                </td>
                                
                                <td class="red-bg">
                                    24
                                </td>
                                
                                <td class="red-bg">
                                    25
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    26
                                </td>
                                
                                <td class="red-bg">
                                    27
                                </td>
                                
                                <td class="red-bg">
                                    28
                                </td>
                                
                                <td class="red-bg">
                                    29
                                </td>
                                
                                <td class="red-bg">
                                    30
                                </td>
                                
                                <td class="red-bg">
                                    31
                                </td>
                                
                            </tr>
                            
                        </tbody>
                    </table>
                </div>
            </div>
            
            <div class="col-md-4">
                <div class="calendar-table">
                    <h4>August</h4>
                    <table class="table table-bordered">
                        <thead>
                            <tr><th>一</th><th>二</th><th>三</th><th>四</th><th>五</th><th>六</th><th>日</th></tr>
                        </thead>
                        <tbody>
                            
                            <tr>
                                
                                <td class="no-data-bg">
                                    
                                </td>
                                
                                <td class="no-data-bg">
                                    
                                </td>
                                
                                <td class="no-data-bg">
                                    
                                </td>
                                
                                <td class="no-data-bg">
                                    
                                </td>
                                
                                <td class="no-data-bg">
                                    
                                </td>
                                
                                <td class="no-data-bg">
                                    
                                </td>
                                
                                <td class="red-bg">
                                    1
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    2
                                </td>
                                
                                <td class="red-bg">
                                    3
                                </td>
                                
                                <td class="red-bg">
                                    4
                                </td>
                                
                                <td class="red-bg">
                                    5
                                </td>
                                
                                <td class="red-bg">
                                    6
                                </td>
                                
                                <td class="red-bg">
                                    7
                                </td>
                                
                                <td class="red-bg">
                                    8
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    9
                                </td>
                                
                                <td class="red-bg">
                                    10
                                </td>
                                
                                <td class="red-bg">
                                    11
                                </td>
                                
                                <td class="red-bg">
                                    12
                                </td>
                                
                                <td class="red-bg">
                                    13
                                </td>
                                
                                <td class="red-bg">
                                    14
                                </td>
                                
                                <td class="red-bg">
                                    15
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    16
                                </td>
                                
                                <td class="red-bg">
                                    17
                                </td>
                                
                                <td class="red-bg">
                                    18
                                </td>
                                
                                <td class="red-bg">
                                    19
                                </td>
                                
                                <td class="red-bg">
                                    20
                                </td>
                                
                                <td class="red-bg">
                                    21
                                </td>
                                
                                <td class="red-bg">
                                    22
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    23
                                </td>
                                
                                <td class="red-bg">
                                    24
                                </td>
                                
                                <td class="red-bg">
                                    25
                                </td>
                                
                                <td class="red-bg">
                                    26
                                </td>
                                
                                <td class="red-bg">
                                    27
                                </td>
                                
                                <td class="red-bg">
                                    28
                                </td>
                                
                                <td class="red-bg">
                                    29
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    30
                                </td>
                                
                                <td class="red-bg">
                                    31
                                </td>
                                
                            </tr>
                            
                        </tbody>
                    </table>
                </div>
            </div>
            
            <div class="col-md-4">
                <div class="calendar-table">
                    <h4>September</h4>
                    <table class="table table-bordered">
                        <thead>
                            <tr><th>一</th><th>二</th><th>三</th><th>四</th><th>五</th><th>六</th><th>日</th></tr>
                        </thead>
                        <tbody>
                            
                            <tr>
                                
                                <td class="no-data-bg">
                                    
                                </td>
                                
                                <td class="no-data-bg">
                                    
                                </td>
                                
                                <td class="red-bg">
                                    1
                                </td>
                                
                                <td class="red-bg">
                                    2
                                </td>
                                
                                <td class="red-bg">
                                    3
                                </td>
                                
                                <td class="red-bg">
                                    4
                                </td>
                                
                                <td class="red-bg">
                                    5
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    6
                                </td>
                                
                                <td class="red-bg">
                                    7
                                </td>
                                
                                <td class="red-bg">
                                    8
                                </td>
                                
                                <td class="red-bg">
                                    9
                                </td>
                                
                                <td class="red-bg">
                                    10
                                </td>
                                
                                <td class="red-bg">
                                    11
                                </td>
                                
                                <td class="red-bg">
                                    12
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    13
                                </td>
                                
                                <td class="red-bg">
                                    14
                                </td>
                                
                                <td class="red-bg">
                                    15
                                </td>
                                
                                <td class="red-bg">
                                    16
                                </td>
                                
                                <td class="red-bg">
                                    17
                                </td>
                                
                                <td class="red-bg">
                                    18
                                </td>
                                
                                <td class="red-bg">
                                    19
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    20
                                </td>
                                
                                <td class="red-bg">
                                    21
                                </td>
                                
                                <td class="red-bg">
                                    22
                                </td>
                                
                                <td class="red-bg">
                                    23
                                </td>
                                
                                <td class="red-bg">
                                    24
                                </td>
                                
                                <td class="red-bg">
                                    25
                                </td>
                                
                                <td class="red-bg">
                                    26
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    27
                                </td>
                                
                                <td class="red-bg">
                                    28
                                </td>
                                
                                <td class="red-bg">
                                    29
                                </td>
                                
                                <td class="red-bg">
                                    30
                                </td>
                                
                            </tr>
                            
                        </tbody>
                    </table>
                </div>
            </div>
            
            <div class="col-md-4">
                <div class="calendar-table">
                    <h4>October</h4>
                    <table class="table table-bordered">
                        <thead>
                            <tr><th>一</th><th>二</th><th>三</th><th>四</th><th>五</th><th>六</th><th>日</th></tr>
                        </thead>
                        <tbody>
                            
                            <tr>
                                
                                <td class="no-data-bg">
                                    
                                </td>
                                
                                <td class="no-data-bg">
                                    
                                </td>
                                
                                <td class="no-data-bg">
                                    
                                </td>
                                
                                <td class="no-data-bg">
                                    
                                </td>
                                
                                <td class="red-bg">
                                    1
                                </td>
                                
                                <td class="red-bg">
                                    2
                                </td>
                                
                                <td class="red-bg">
                                    3
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    4
                                </td>
                                
                                <td class="red-bg">
                                    5
                                </td>
                                
                                <td class="red-bg">
                                    6
                                </td>
                                
                                <td class="red-bg">
                                    7
                                </td>
                                
                                <td class="red-bg">
                                    8
                                </td>
                                
                                <td class="red-bg">
                                    9
                                </td>
                                
                                <td class="red-bg">
                                    10
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    11
                                </td>
                                
                                <td class="red-bg">
                                    12
                                </td>
                                
                                <td class="red-bg">
                                    13
                                </td>
                                
                                <td class="red-bg">
                                    14
                                </td>
                                
                                <td class="red-bg">
                                    15
                                </td>
                                
                                <td class="red-bg">
                                    16
                                </td>
                                
                                <td class="red-bg">
                                    17
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    18
                                </td>
                                
                                <td class="red-bg">
                                    19
                                </td>
                                
                                <td class="red-bg">
                                    20
                                </td>
                                
                                <td class="red-bg">
                                    21
                                </td>
                                
                                <td class="red-bg">
                                    22
                                </td>
                                
                                <td class="red-bg">
                                    23
                                </td>
                                
                                <td class="red-bg">
                                    24
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    25
                                </td>
                                
                                <td class="red-bg">
                                    26
                                </td>
                                
                                <td class="red-bg">
                                    27
                                </td>
                                
                                <td class="red-bg">
                                    28
                                </td>
                                
                                <td class="red-bg">
                                    29
                                </td>
                                
                                <td class="red-bg">
                                    30
                                </td>
                                
                                <td class="red-bg">
                                    31
                                </td>
                                
                            </tr>
                            
                        </tbody>
                    </table>
                </div>
            </div>
            
            <div class="col-md-4">
                <div class="calendar-table">
                    <h4>November</h4>
                    <table class="table table-bordered">
                        <thead>
                            <tr><th>一</th><th>二</th><th>三</th><th>四</th><th>五</th><th>六</th><th>日</th></tr>
                        </thead>
                        <tbody>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    1
                                </td>
                                
                                <td class="red-bg">
                                    2
                                </td>
                                
                                <td class="red-bg">
                                    3
                                </td>
                                
                                <td class="red-bg">
                                    4
                                </td>
                                
                                <td class="red-bg">
                                    5
                                </td>
                                
                                <td class="red-bg">
                                    6
                                </td>
                                
                                <td class="red-bg">
                                    7
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    8
                                </td>
                                
                                <td class="red-bg">
                                    9
                                </td>
                                
                                <td class="red-bg">
                                    10
                                </td>
                                
                                <td class="red-bg">
                                    11
                                </td>
                                
                                <td class="red-bg">
                                    12
                                </td>
                                
                                <td class="red-bg">
                                    13
                                </td>
                                
                                <td class="red-bg">
                                    14
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    15
                                </td>
                                
                                <td class="red-bg">
                                    16
                                </td>
                                
                                <td class="red-bg">
                                    17
                                </td>
                                
                                <td class="red-bg">
                                    18
                                </td>
                                
                                <td class="red-bg">
                                    19
                                </td>
                                
                                <td class="red-bg">
                                    20
                                </td>
                                
                                <td class="red-bg">
                                    21
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    22
                                </td>
                                
                                <td class="red-bg">
                                    23
                                </td>
                                
                                <td class="red-bg">
                                    24
                                </td>
                                
                                <td class="red-bg">
                                    25
                                </td>
                                
                                <td class="red-bg">
                                    26
                                </td>
                                
                                <td class="red-bg">
                                    27
                                </td>
                                
                                <td class="red-bg">
                                    28
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    29
                                </td>
                                
                                <td class="red-bg">
                                    30
                                </td>
                                
                            </tr>
                            
                        </tbody>
                    </table>
                </div>
            </div>
            
            <div class="col-md-4">
                <div class="calendar-table">
                    <h4>December</h4>
                    <table class="table table-bordered">
                        <thead>
                            <tr><th>一</th><th>二</th><th>三</th><th>四</th><th>五</th><th>六</th><th>日</th></tr>
                        </thead>
                        <tbody>
                            
                            <tr>
                                
                                <td class="no-data-bg">
                                    
                                </td>
                                
                                <td class="no-data-bg">
                                    
                                </td>
                                
                                <td class="red-bg">
                                    1
                                </td>
                                
                                <td class="red-bg">
                                    2
                                </td>
                                
                                <td class="red-bg">
                                    3
                                </td>
                                
                                <td class="red-bg">
                                    4
                                </td>
                                
                                <td class="red-bg">
                                    5
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    6
                                </td>
                                
                                <td class="red-bg">
                                    7
                                </td>
                                
                                <td class="red-bg">
                                    8
                                </td>
                                
                                <td class="red-bg">
                                    9
                                </td>
                                
                                <td class="red-bg">
                                    10
                                </td>
                                
                                <td class="red-bg">
                                    11
                                </td>
                                
                                <td class="red-bg">
                                    12
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    13
                                </td>
                                
                                <td class="red-bg">
                                    14
                                </td>
                                
                                <td class="red-bg">
                                    15
                                </td>
                                
                                <td class="red-bg">
                                    16
                                </td>
                                
                                <td class="red-bg">
                                    17
                                </td>
                                
                                <td class="red-bg">
                                    18
                                </td>
                                
                                <td class="red-bg">
                                    19
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    20
                                </td>
                                
                                <td class="red-bg">
                                    21
                                </td>
                                
                                <td class="red-bg">
                                    22
                                </td>
                                
                                <td class="red-bg">
                                    23
                                </td>
                                
                                <td class="red-bg">
                                    24
                                </td>
                                
                                <td class="red-bg">
                                    25
                                </td>
                                
                                <td class="red-bg">
                                    26
                                </td>
                                
                            </tr>
                            
                            <tr>
                                
                                <td class="red-bg">
                                    27
                                </td>
                                
                                <td class="red-bg">
                                    28
                                </td>
                                
                                <td class="red-bg">
                                    29
                                </td>
                                
                                <td class="red-bg">
                                    30
                                </td>
                                
                                <td class="red-bg">
                                    31
                                </td>
                                
                            </tr>
                            
                        </tbody>
                    </table>
                </div>
            </div>
            
        </div>
    </div>


</body>


<script>
    function setEqualHeight() {
        // 获取所有行中每列的高度
        const rows = document.querySelectorAll('.container .row');
        rows.forEach(row => {
            let maxHeight = 0;
            const cols = row.querySelectorAll('.col-md-4 .calendar-table');

            // 找到该行中最高的元素高度
            cols.forEach(col => {
                maxHeight = Math.max(maxHeight, col.offsetHeight);
            });

            // 将每列的高度设置为该行的最大高度
            cols.forEach(col => {
                col.style.height = `${maxHeight}px`;
            });
        });
    }

    // 在页面加载后和窗口调整大小时设置高度
    window.addEventListener('load', setEqualHeight);
    window.addEventListener('resize', setEqualHeight);
</script>

</html>
